import request from '@/utils/request'

// 自助卡列表
export function apiCardLists(params: any) {
    return request.get({ url: '/card/lists', params })
}

// 添加自助卡
export function apiCardAdd(params: any) {
    return request.post({ url: '/card/add', params })
}

// 批量导入
export function apiCardImporAdd(params: any) {
    return request.post({ url: '/card/batchAdd', params })
}

// 编辑自助卡
export function apiCardEdit(params: any) {
    return request.post({ url: '/card/edit', params })
}

// 删除自助卡
export function apiCardDelete(params: any) {
    return request.post({ url: '/card/delete', params })
}

// 自助卡详情
export function apiCardDetail(params: any) {
    return request.get({ url: '/card/detail', params })
}